package Entities;
import java.util.List;

public class Course {

	public static final int timeSlot = 20;
	public static final int MaxWorkLoad = 10; 
	private int id;
	private int time;
	private int workLoad;
	private int averageGrade;
	private List<Integer> adjacents;


	public Course(int id, int time, int workLoad, int averageGrade,
			List<Integer> adjacents) {
		this.id = id;
		this.time = time;
		this.workLoad = workLoad;
		this.averageGrade = averageGrade;
		this.adjacents = adjacents;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getTime() {
		return time;
	}

	public void setTime(int time) {
		this.time = time;
	}

	public int getWorkLoad() {
		return workLoad;
	}
	public List<Integer> getAdjacentsIds() {
		return adjacents;
	}
	public int getAverageGrade() {
		return averageGrade;
	}

	public String toString(){
		String res = "";
		res += "Coures id = " + id + "\n";
		res += "Coures Time = " + time + "\n";
		res += "Coures Workload = " + workLoad + "\n";
		res += "Coures averageGrade= " + averageGrade + "\n";
		res += "Coures adjacents = " + adjacents.toString() + "\n";
		return res;
		
	}
}
